<?php use_helper('Number') ?>

<div class="menu_box">
    <div class="menu_title"><?php echo ucfirst(__('shopping basket')) ?></div>
    <div class="cart_info">
    <?php if (!empty($receipt) && ($receipt->getItemsQnt() > 0) ):?>

        <div id="divCartStatus"></div>

            <?php echo link_to(format_number_choice(
                                    __('[0]no products|[1]One product|(1,+Inf]%1% products'), array('%1%' => $receipt->getItemsQnt()), $receipt->getItemsQnt())
                                . '&nbsp;&nbsp;&nbsp;'
                                . format_currency($receipt->getPriceByCurrencyCode($sf_user->getAttribute('currency', 'EUR')), $sf_user->getAttribute('currency', 'EUR'))
                            , 'cart/preview'
                    ); ?>
    <?php else: ?>
        <?php echo __('0 products')?>
        &nbsp;&nbsp;&nbsp;<?php echo format_currency(0, $sf_user->getAttribute('currency', 'EUR'))?> 
    <?php endif; ?>
    </div>
</div>